<?php
/**
 * Interface.php
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@mygem.org so we can send you a copy immediately.
 *
 * @copyright   Copyright (c) 2012, MyGem <info@mygem.org>
 * @package     MyGem\Session\Handler
 */


abstract class MyGem_Session_Interface extends MyGem_Session
{

    abstract public function open($savePath, $sessionName);

    abstract public function close();

    abstract public function read($sessionId);

    abstract public function write($sessionId, $data);

    abstract public function destroy($sessionId);

    abstract public function gc($lifetime);

}
